<?php
	include dirname(__FILE__).'/header.php';
?>
<script type="text/javascript" src="<?php echo IMAGE_URL?>/js/mootools_packed.js"></script>
<script type="text/javascript" src="<?php echo IMAGE_URL?>/js/site.js"></script>
<script type="text/javascript" src="<?php echo IMAGE_URL?>/js/swfobject.js"></script>
<div id="container">
  <div id="header">
  		<?php include dirname(__FILE__).'/top_nav.php'?>
   	  <div class="menubott"></div>
  </div>		
  
  <div id="mainContent">
   <div class="contenta">
    <div class="hnews">
     <div class="tlitbg"><div class="tlit"><a href="news.php">更多</a></div></div>
     <div class="hcona-b">
      <div class="hcona-l">
       <div class="hcona-r">
        <ul>
        <!--新闻列表-->
        <?php foreach($newList as $key=>$val){?>
        	<li><span style="float:right;">[<?php echo date('Y-m-d', $val['moea_time'])?>]</span><a href="newinfo.php?id=<?php echo $val['moea_id']?>"><?php echo $val['moea_title']?></a></li>        
        <?php }?>
        <!--/新闻列表-->
       </ul>
      </div>
     </div>
    </div>
   </div>
    
    <div class="hsale">
     <div class="tlitbg"><div class="tlit salexy"><a href="mobile.php">更多</a></div></div>
     <div class="hcona-b">
      <div class="hcona-l">
       <div class="hcona-r">
       	<!--促销信息-->
        <?php  
		    include dirname(__FILE__).'/module_for_sale_var.php';
			foreach($moduleContend as $key=>$val){?>
        <div class="conasale">
         <div class="saleimg">
			<a href="<?php echo $val['url']?>">
			<img src="<?php echo $val['img']?>" width="97" height="82" />
			</a>
		 </div>
         <div class="salecon">
			<?php echo $val['desc']?>
		  </div>
        </div>
        <?php }?>
        <!--/促销信息-->
      </div>
     </div>
    </div>
   </div>    

   
   <div class="habout">
     <div class="tlitbg"><div class="tlit aboutxy"></div></div>
     <div class="hcona-b">
      <div class="hcona-l">
       <div class="hcona-r">
        <div class=webad1>
          <script language="javascript">
<!--
//图片滚动列表 mengjia 070927
var Speed_1 = 5; //速度(毫秒)
var Space_1 = 10; //每次移动(px)
var PageWidth_1 = 200; //翻页宽度
var interval_1 = 7000; //翻页间隔
var fill_1 = 0; //整体移位
var MoveLock_1 = false;
var MoveTimeObj_1;
var MoveWay_1="right";
var Comp_1 = 0;
var AutoPlayObj_1=null;
function GetObj(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval('document.all.'+objName)}}
function AutoPlay_1(){clearInterval(AutoPlayObj_1);AutoPlayObj_1=setInterval('ISL_GoDown_1();ISL_StopDown_1();',interval_1)}
function ISL_GoUp_1(){if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="left";MoveTimeObj_1=setInterval('ISL_ScrUp_1();',Speed_1);}
function ISL_StopUp_1(){if(MoveWay_1 == "right"){return};clearInterval(MoveTimeObj_1);if((GetObj('ISL_Cont_1').scrollLeft-fill_1)%PageWidth_1!=0){Comp_1=fill_1-(GetObj('ISL_Cont_1').scrollLeft%PageWidth_1);CompScr_1()}else{MoveLock_1=false}
AutoPlay_1()}
function ISL_ScrUp_1(){if(GetObj('ISL_Cont_1').scrollLeft<=0){GetObj('ISL_Cont_1').scrollLeft=GetObj('ISL_Cont_1').scrollLeft+GetObj('List1_1').offsetWidth}
GetObj('ISL_Cont_1').scrollLeft-=Space_1}
function ISL_GoDown_1(){clearInterval(MoveTimeObj_1);if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="right";ISL_ScrDown_1();MoveTimeObj_1=setInterval('ISL_ScrDown_1()',Speed_1)}
function ISL_StopDown_1(){if(MoveWay_1 == "left"){return};clearInterval(MoveTimeObj_1);if(GetObj('ISL_Cont_1').scrollLeft%PageWidth_1-(fill_1>=0?fill_1:fill_1+1)!=0){Comp_1=PageWidth_1-GetObj('ISL_Cont_1').scrollLeft%PageWidth_1+fill_1;CompScr_1()}else{MoveLock_1=false}
AutoPlay_1()}
function ISL_ScrDown_1(){if(GetObj('ISL_Cont_1').scrollLeft>=GetObj('List1_1').scrollWidth){GetObj('ISL_Cont_1').scrollLeft=GetObj('ISL_Cont_1').scrollLeft-GetObj('List1_1').scrollWidth}
GetObj('ISL_Cont_1').scrollLeft+=Space_1}
function CompScr_1(){if(Comp_1==0){MoveLock_1=false;return}
var num,TempSpeed=Speed_1,TempSpace=Space_1;if(Math.abs(Comp_1)<PageWidth_1/2){TempSpace=Math.round(Math.abs(Comp_1/Space_1));if(TempSpace<1){TempSpace=1}}
if(Comp_1<0){if(Comp_1<-TempSpace){Comp_1+=TempSpace;num=TempSpace}else{num=-Comp_1;Comp_1=0}
GetObj('ISL_Cont_1').scrollLeft-=num;setTimeout('CompScr_1()',TempSpeed)}else{if(Comp_1>TempSpace){Comp_1-=TempSpace;num=TempSpace}else{num=Comp_1;Comp_1=0}
GetObj('ISL_Cont_1').scrollLeft+=num;setTimeout('CompScr_1()',TempSpeed)}}
function picrun_ini(){
GetObj("List2_1").innerHTML=GetObj("List1_1").innerHTML;
GetObj('ISL_Cont_1').scrollLeft=fill_1>=0?fill_1:GetObj('List1_1').scrollWidth-Math.abs(fill_1);
GetObj("ISL_Cont_1").onmouseover=function(){clearInterval(AutoPlayObj_1)}
GetObj("ISL_Cont_1").onmouseout=function(){AutoPlay_1()}
AutoPlay_1();
}
//产品展示滚动图片结束
//-->
</script>
          	<DIV class=blk_18>
          		<A onmouseup=ISL_StopUp_1() class=LeftBotton onmousedown=ISL_GoUp_1() onmouseout=ISL_StopUp_1() href="javascript:void(0);" target=_self></A>
                <DIV class=pcont id=ISL_Cont_1>
                      <DIV class=ScrCont>
                            <DIV id=List1_1><!-- piclist begin -->
                              <ul>
                                  <!--门店幻灯片-->
                                 <li><A class=pl href="#" rel="nofollow" target=_blank><IMG src="<?php echo IMAGE_URL?>/images/imgshop.jpg" alt=广州木棉科技 border="0">东门总店</A>
                                      </li>
                                  <li><A class=pl href="#" rel="nofollow" target=_blank><IMG src="<?php echo IMAGE_URL?>/images/imgshop.jpg" alt=广州木棉科技 border="0">东门总店</A>
                                  </li>
                                  <!--门店幻灯片-->
                              </ul>
                              <!-- piclist end -->
                            </DIV>
                            <DIV id=List2_1>
                            </DIV>
                        </DIV>
                    </DIV>
                	<A onmouseup=ISL_StopDown_1() class=RightBotton onmousedown=ISL_GoDown_1() onmouseout=ISL_StopDown_1() href="javascript:void(0);" target=_self></A>
                </DIV>                    
			  <SCRIPT type=text/javascript><!-- 
					 picrun_ini()
					 //-->
                     </SCRIPT>
          
          </div>
       </div>
     </div>
    </div>
   </div>
   
    <div class="air"></div>
   </div>
   <div class="contenta">
    <div class="hpdt">
     <div class="tlitbg pdtbg"><div class="tlit pdtxy"><a href="mobile.php">更多+</a></div></div>
     <div class="hcona-b">
      <div class="hcona-l">
       <div class="hcona-r">
        <div id="demo">
     <div id="indemo">
      <div id="demo1">
        <!--新闻列表-->
        <?php foreach($hostSalePhone as $key=>$val){?>
        	<li>
				<a href="mobileinfo.php?id=<?php echo $val['moep_id']?>">
				<img src="<?php echo $val['moep_log']?>" border="0" />
				</a>
				<div class="tilli">
				<?php echo $val['moep_name']?>
				</div>
			</li>        	
        <?php }?>
        <!--/新闻列表-->      
      </div>
      <div id="demo2"></div>
     </div>
    </div>
<script>
<!--
var speed=10; //数字越大速度越慢
var tab=document.getElementById("demo");
var tab1=document.getElementById("demo1");
var tab2=document.getElementById("demo2");
tab2.innerHTML=tab1.innerHTML;
function Marquee(){
if(tab2.offsetWidth-tab.scrollLeft<=0)
tab.scrollLeft-=tab1.offsetWidth
else{
tab.scrollLeft++;
}
}
var MyMar=setInterval(Marquee,speed);
tab.onmouseover=function() {clearInterval(MyMar)};
tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
-->
</script>
       </div>
     </div>
    </div>
   </div>   
   <div class="hcontus">
     <div class="tlitbg pdtbg"><div class="tlit contusxy"><a href="#">more+</a></div></div>
     <div class="hcona-b">
      <div class="hcona-l">
       <div class="hcona-r">
        <div class="contus">
          <div class="uscont">东门总店：<br />地址：福清市东门路34号旭日公司正对面（长江商务酒店旁）<br />电话：0591-85212777</div>
        </div>
      </div>
     </div>
    </div>
   </div>
   
   
   </div>
  </div>  
<?php
	include dirname(__FILE__).'/footer.php';
?>  
  